<!DOCTYPE html>

<!-- This test passes if it does not crash. -->

<dialog id="dialog" open>Dialog</dialog>

<script>
    window.onload = () => {
        dialog.requestClose();
    }
</script>
